package cn.jzq.kotoba.modules.designpattern.decorator.demo;

import sun.rmi.runtime.Log;

/**
 * @author jzq
 * @date 2019/1/25 17:57
 */
public class App {

    public static void main(String[] args) {
        ILog logger = new Logger();
        logger.info();
        ILog decoratorLogger = new DecoratorLogger(logger);
        decoratorLogger.info();
        ILog decoratorLogger2 = new DecoratorLogger(decoratorLogger);
        decoratorLogger2.info();
    }
}
